package org.jeecg.modules.monitoring.j_monitoring.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 蓄电池组
 * @Author: xiaoyq
 * @Date:   2023-01-14
 * @Version: V1.0
 */
@ApiModel(value="m_battery_pack对象", description="蓄电池组")
@Data
@TableName("m_battery_pack")
public class MBatteryPack implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id;主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id;主键")
    private java.lang.String id;
	/**设备名称*/
	@Excel(name = "设备名称", width = 15)
    @ApiModelProperty(value = "设备名称")
    private java.lang.String name;
	/**设备型号*/
	@Excel(name = "设备型号", width = 15)
    @ApiModelProperty(value = "设备型号")
    private java.lang.String model;
	/**是否监测*/
	@Excel(name = "是否监测", width = 15, dicCode = "j_sfjc")
    @ApiModelProperty(value = "是否监测")
    private java.lang.String whetherToMonitor;
	/**责任人*/
	@Excel(name = "责任人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "责任人")
    private java.lang.String personLiable;
	/**IP地址*/
	@Excel(name = "IP地址", width = 15)
    @ApiModelProperty(value = "IP地址")
    private java.lang.String ipAddress;
	/**端口*/
	@Excel(name = "端口", width = 15)
    @ApiModelProperty(value = "端口")
    private java.lang.String port;
	/**电流地址*/
	@Excel(name = "电流地址", width = 15)
    @ApiModelProperty(value = "电流地址")
    private java.lang.String currentAddress;
	/**电压模块地址*/
	@Excel(name = "电压模块地址", width = 15)
    @ApiModelProperty(value = "电压模块地址")
    private java.lang.String voltageModuleAddress;
	/**电池组设备类型*/
	@Excel(name = "电池组设备类型", width = 15, dicCode = "j_dczsblx")
    @ApiModelProperty(value = "电池组设备类型")
    private java.lang.String batteryPackDeviceType;
	/**MAC地址*/
	@Excel(name = "MAC地址", width = 15)
    @ApiModelProperty(value = "MAC地址")
    private java.lang.String macAddress;
	/**网关*/
	@Excel(name = "网关", width = 15)
    @ApiModelProperty(value = "网关")
    private java.lang.String gateway;
	/**所属区域*/
	@Excel(name = "所属区域", width = 15)
    @ApiModelProperty(value = "所属区域")
    private java.lang.String region;
	/**所属机房*/
	@Excel(name = "所属机房", width = 15)
    @ApiModelProperty(value = "所属机房")
    private java.lang.String machineRoom;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remarks;

	/**外键*/
    @ApiModelProperty(value = "外键")
    private java.lang.String fkId;

    /**创建时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;

    /**更新时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;

    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;

    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
}
